package com.server.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.server.web.DataVector;
import com.server.web.RequestInput;

public interface ICourseStudyService {

	public DataVector<Map<String, Object>> getList(String whereStr, String sortStr,
			RequestInput requestInput);

	public Map<String, Object> getForm(HttpServletRequest request,Integer id);

	public void loadClickCount();
	
	public List<Map<String, Object>> getCatalog(Integer id);

	public void click(Integer id);

	public void clickRecord();
	
	public Map<String, Object> selectStudy(Map<String, Object> whereMap);
	
	public Boolean studyProcess(Map<String, Object> inputMap,String userName);
	
	public Boolean updateProcess(Map<String, Object> whereMap,String currentTime);
	
	public Boolean updateEndProcess(Map<String, Object> whereMap);
	
	public int countProcess(Integer id,String nickname);
	
	public int countProcess2(Integer id,String nickname);
	
	public Boolean addNotes(Map<String, Object> inputMap,String operator);
	
	public Map<String, Object> getNotes(Map<String, Object> whereMap);
	
	public Boolean updateNotes(Map<String, Object> whereMap,String content);
	
	public Map<String, Object> getCon(Integer id);
	
	public Map<String, Object> getVidoPptRelation(Integer courseId);
}
